//
//  OperationHistoryModel.swift
//  SwiftPhtotEdit
//
//  Created by momo on 2025/10/14.
//

import UIKit

enum OperationType {
    case brush // 保留操作
    case erase // 擦除操作
    case initial // 初始状态
}
 
//struct OperationHistoryModel {
//    
//    let image: UIImage
//    let brushPaths: [UIBezierPath]
//    let erasePaths: [UIBezierPath]
//    let operationType: OperationType // 记录最后一次操作类型
//    
//}


struct OperationHistoryModel {
    
//    let image: UIImage
//    lazy var allPaths: [UIBezierPath] = []
    
    let path: UIBezierPath
    let operationType: OperationType
}
